<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
<link rel="Stylesheet" type="text/css" href="../cludg.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>
simple-crud</title>
</head>
<body>
<div id="navbar">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<colgroup span="3">
<col width="0*"/>
<col width="0*"/>
<col width="1*"/>
</colgroup>
<tr>
<td align="left" valign="baseline">
<a href="select.html">
Prev:&nbsp;select</a>
<br/>
<a href="../ap-makefile/makefile.html">
Next:&nbsp;makefile</a>
</td>
<td>
&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td align="left" valign="baseline">
<span class="upchain">
<b>
simple-crud</b>
<br/>
<a href="../index.html">
Index</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
</div>
<div class="cludg-doc-body">
<h2>
simple-crud
</h2>
<table style="width: 100%;" class="summary-table">
<tr class="table-heading-color">
<th class="summary" colspan="2">
Method summary</th>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5348">
crud-create</a>
</td>
<td class="summary">
crud table values</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5350">
crud-create-from-instance</a>
</td>
<td class="summary">
crud instance</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5366">
crud-delete</a>
</td>
<td class="summary">
crud table id</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5369">
crud-delete-from-instance</a>
</td>
<td class="summary">
crud instance</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5372">
crud-match</a>
</td>
<td class="summary">
crud instance</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5353">
crud-read</a>
</td>
<td class="summary">
crud table id</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5356">
crud-read-from-instance</a>
</td>
<td class="summary">
crud instance</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5344">
crud-select</a>
</td>
<td class="summary">
crud select</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5339">
crud-select-raw</a>
</td>
<td class="summary">
crud select-or-string</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5360">
crud-update</a>
</td>
<td class="summary">
crud table id values</td>
</tr>
<tr class="table-row-color">
<td class="summary-name">
<a href="simple-crud.html#_g5363">
crud-update-from-instance</a>
</td>
<td class="summary">
crud instance</td>
</tr>
</table>
<div class="defun">
<div class="defunsignatures">
<a id="_g5339">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-select-raw&nbsp;&nbsp;</td>
<td class="lambda-list">
crud select-or-string</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Returns the results of the query SELECT-OR-STRING directly. This is 
 useful for queries that do not return results that could be mapped to 
 instances. The format of the result is dependent on the db adapter of 
 CRUD. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5344">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-select&nbsp;&nbsp;</td>
<td class="lambda-list">
crud select</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Returns instances that match SELECT. SELECT must select all 
 fields (&quot;*&quot;). See MAKE-SELECT. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5348">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-create&nbsp;&nbsp;</td>
<td class="lambda-list">
crud table values</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Adds a new row to the database of CRUD. 
 </p>
<p>
Example: 
 (CRUD-CREATE *crud* &quot;foo&quot; '(&quot;id&quot; 5 &quot;name&quot; &quot;John&quot;)) 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5350">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-create-from-instance&nbsp;&nbsp;</td>
<td class="lambda-list">
crud instance</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Adds a new row to the database of CRUD based on the slots of INSTANCE. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5353">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-read&nbsp;&nbsp;</td>
<td class="lambda-list">
crud table id</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Returns an instance corresponding to the row in TABLE with id ID. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5356">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-read-from-instance&nbsp;&nbsp;</td>
<td class="lambda-list">
crud instance</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Returns an fresh instance of INSTANCE from the database of CRUD. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5360">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-update&nbsp;&nbsp;</td>
<td class="lambda-list">
crud table id values</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Updates the row with id ID in TABLE with VALUES. 
 </p>
<p>
Example: 
 (CRUD-UPDATE *crud* &quot;foo&quot; 5 '(&quot;name&quot; &quot;John&quot;)) 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5363">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-update-from-instance&nbsp;&nbsp;</td>
<td class="lambda-list">
crud instance</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Updates the row corresponding to INSTANCE with its slot values in the 
 database of CRUD. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5366">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-delete&nbsp;&nbsp;</td>
<td class="lambda-list">
crud table id</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Deletes the row with id ID in TABLE. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5369">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-delete-from-instance&nbsp;&nbsp;</td>
<td class="lambda-list">
crud instance</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Deletes the row corresponding to INSTANCE. 
 </p>
</div>
</div>
<div class="defun">
<div class="defunsignatures">
<a id="_g5372">
</a>
<table cellpadding="0" cellspacing="0" width="100%">
<colgroup span="3">
<col width="0*"/>
<col width="1*"/>
<col width="0*"/>
</colgroup>
<tbody>
<tr>
<td class="symbol-name">
crud-match&nbsp;&nbsp;</td>
<td class="lambda-list">
crud instance</td>
<td class="symbol-type">
&nbsp;[Generic&nbsp;function]</td>
</tr>
</tbody>
</table>
</div>
<div class="doc-body">
<p>
Returns a set of instances that match the bound slots of INSTANCE. 
 </p>
</div>
</div>
</div>
<div class="cludg-footer">
Generated by&nbsp;<a href="mailto:ihatchondo@common-lisp.net" lang="en">
CLDOC</a>
- 2009-11-30 22:56:16</div>
</body>
</html>
